package com.bookpavilion.user.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="bp_user")
public class User implements Serializable{

	@Id
	private String id;//


	
	private String username;//用户名
	private String password;//密码
	private String phone;//手机号码
	private String nick_name;//昵称
	private String sex;//性别
	private String region;//地区
	private String head_pic;//头像
	private String profile;//个性标签
	private Integer registerway;//注册方式
	private Integer is_phone_check;//手机是否验证 ( 0 否 1 是 )
	private Integer is_email_check;//邮箱是否验证 ( 0 否 1 是 )
	private String status;//账号状态（日后账号发表不良言论时可封号处理）
	private Integer fan_nums;//
	private Integer follow_nums;//
	private Integer article_nums;//
	private Integer forward_nums;//
	private java.util.Date create_date;//账号创建时间

	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {		
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {		
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {		
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getNick_name() {		
		return nick_name;
	}
	public void setNick_name(String nick_name) {
		this.nick_name = nick_name;
	}

	public String getSex() {		
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getRegion() {		
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}

	public String getHead_pic() {		
		return head_pic;
	}
	public void setHead_pic(String head_pic) {
		this.head_pic = head_pic;
	}

	public String getProfile() {		
		return profile;
	}
	public void setProfile(String profile) {
		this.profile = profile;
	}

	public Integer getRegisterway() {		
		return registerway;
	}
	public void setRegisterway(Integer registerway) {
		this.registerway = registerway;
	}

	public Integer getIs_phone_check() {		
		return is_phone_check;
	}
	public void setIs_phone_check(Integer is_phone_check) {
		this.is_phone_check = is_phone_check;
	}

	public Integer getIs_email_check() {		
		return is_email_check;
	}
	public void setIs_email_check(Integer is_email_check) {
		this.is_email_check = is_email_check;
	}

	public String getStatus() {		
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getFan_nums() {		
		return fan_nums;
	}
	public void setFan_nums(Integer fan_nums) {
		this.fan_nums = fan_nums;
	}

	public Integer getFollow_nums() {		
		return follow_nums;
	}
	public void setFollow_nums(Integer follow_nums) {
		this.follow_nums = follow_nums;
	}

	public Integer getArticle_nums() {		
		return article_nums;
	}
	public void setArticle_nums(Integer article_nums) {
		this.article_nums = article_nums;
	}

	public Integer getForward_nums() {		
		return forward_nums;
	}
	public void setForward_nums(Integer forward_nums) {
		this.forward_nums = forward_nums;
	}

	public java.util.Date getCreate_date() {		
		return create_date;
	}
	public void setCreate_date(java.util.Date create_date) {
		this.create_date = create_date;
	}


	
}
